/*
 * file name:mal_iwdg.h
 * version :v1.0.0
 * Change Logs:
 * Date             Author      	main change
 * 2025-03-12     	lanxin          the first version
 *
*/

/********************************************* READ ME BEGIN *************************************************************/

/* Brief:
 *
 * * 1.iwdg 抽象层。
 *
*/

/********************************************* READ ME END ***************************************************************/

#ifndef _mal_iwdg_h
#define _mal_iwdg_h

/* source file */
#include "stdint.h"

/* public define */

/* variable typedef */
typedef struct iwdg_operate
{
	void ( *init ) ( uint16_t iwdg_timeout );
	void ( *refresh ) ( void );
} s_iwdg_ops_t;

/* function typedef */

/* variable declaration for other to use */

/* function declaration for other to use */
void mal_iwdg_bind_ops ( s_iwdg_ops_t *ops );
void mal_iwdg_init ( uint16_t iwdg_timeout );
void mal_iwdg_refresh ( void );

#endif /* _mal_iwdg_h */
